generateUID = function(groupings) {
	if (!groupings)
		groupings = 4;
	
	var canPass = false;
	var res = "";	
	
	while (canPass == false) {
		res = "";
		for (var i = 0; i < groupings; i++) {
			if (i > 0)
				res += "-";
			res += (((1+Math.random())*0x10000)|0).toString(16).substring(1);
		}
		canPass = remoteData.interpretServerBoolean(remoteData.requestData(ws.UNIQUEID, {'uid':res}, SERVER_BOOLEAN_TRUE));
	}
	return res;
};